/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Shared;

import java.util.ArrayList;
import Shared.ObjCar;
import java.io.Serializable;

/**
 *
 * @author Ed
 */
public class ListObjCarZona implements Serializable {
    private int inicioX;
    private int inicioY;
    private ArrayList<ObjCar> listCars = new ArrayList<>();
    
    public ListObjCarZona(){}
    
    public ListObjCarZona(int xx, int yy, ArrayList<ObjCar> list){
        setInicioX(xx);
        setInicioY(yy);
        setListCars(list);
    }

    public int getInicioX() {
        return inicioX;
    }

    public void setInicioX(int inicioX) {
        this.inicioX = inicioX;
    }

    public int getInicioY() {
        return inicioY;
    }

    public void setInicioY(int inicioY) {
        this.inicioY = inicioY;
    }

    public ArrayList<ObjCar> getListCars() {
        return listCars;
    }

    public void setListCars(ArrayList<ObjCar> listCars) {
        this.listCars = listCars;
    }    
}
